package org.jeecg.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.system.entity.DbanAuthRecord;

import java.util.List;
import java.util.Map;

@Mapper
public interface DbanAuthRecordMapper extends BaseMapper<DbanAuthRecord> {


    List<DbanAuthRecord> query(DbanAuthRecord dbanAuthRecord);

    List<DbanAuthRecord> queryByPkIds(@Param("list") List<Integer> pkIds);

    List<Map<String, Object>> diShiRepeatCount();

    List<Map<String, Object>> shengJiRepeatCount();

    int deleteByPkId(@Param("pkId") Integer pkId);

    DbanAuthRecord findOne(@Param("pkId") Integer pkId);

    List<DbanAuthRecord> queryByUserIds(@Param("list") List<String> userIds);

}
